package com.sunda.spmsoversea.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 领用申请表
 * </p>
 *
 * @author Wayne
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OVERSEA_REQUISITION")
@ApiModel(value="OverseaRequisition对象", description="领用申请表")
public class OverseaRequisition implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "领用申请表自增ID")
    @TableField("AUTO_ID_REQUISITION")
    private Integer autoIdRequisition;

    @ApiModelProperty(value = "领用申请UUID")
    @TableId("UUID_REQUISITION")
    private String uuidRequisition;

    @ApiModelProperty(value = "领用申请单号")
    @TableField("SPMS_ID")
    private String spmsId;

    @ApiModelProperty(value = "创建日期")
    @TableField("CREATE_DATE")
    private String createDate;

    @ApiModelProperty(value = "移动类型")
    @TableField("BUSINESS_TYPE")
    private String businessType;

    @ApiModelProperty(value = "单据状态(0已删除;1待提交;2待审批;3审批通过;4审批拒绝;5已生成出库任务;)")
    @TableField("SPMS_STATUS")
    private String spmsStatus;

    @ApiModelProperty(value = "申请人")
    @TableField("CREATE_USERID")
    private String createUserid;

    @ApiModelProperty(value = "工厂代码")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "车间代码")
    @TableField("WORKSHOP_CODE")
    private String workshopCode;

    @ApiModelProperty(value = "仓库地点代码")
    @TableField("WHS_LOCATION_CODE")
    private String whsLocationCode;

    @ApiModelProperty(value = "来源单号")
    @TableField("RELATE_DOCUMENT")
    private String relateDocument;

    @ApiModelProperty(value = "成本中心")
    @TableField("COST_CENTER")
    private String costCenter;

    @ApiModelProperty(value = "成本中心名称")
    @TableField("COST_CENTER_NAME")
    private String costCenterName;

    @ApiModelProperty(value = "数据版本号")
    @TableField("DATA_VERSION")
    private Integer dataVersion;

    @ApiModelProperty(value = "备注")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "评论")
    @TableField("COMMENTS")
    private String comments;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "审批通过日期")
    @TableField("APPROVAL_DATE")
    private String approvalDate;

}
